package icu.decade.store.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author qk
 * @version 1.0
 * @className ThreadPoolParams
 * @description
 * @date 2023/6/20 16:22
 **/
@Data
@ConfigurationProperties("thread-pool")
public class ThreadPoolParams {
    private Integer taskCorePoolSize;
    private Integer taskMaxPoolSize;
    private Integer taskQueueCapacity;
    private Integer taskKeepAliveSeconds;
    private boolean allowCoreThreadTimeOut;
}
